Spread Windows Forms 17
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet Namespace / GradientFillEffect Structure / Create Method / Create(Double,GradientStop[]) Method
Specifies in percentage format (from the top to the bottom) the position of the top edge of the inner rectangle (color 1). For top, 0 means the top edge of the inner rectangle is on the top edge of the cell, and 1 means it is on the bottom edge of the cell.
A GradientStop array indicates the gradient stops.


In This Topic
    Create(Double,GradientStop[]) Method
    In This Topic
    Creates the path gradient fill.
    Syntax
    'Declaration
     
    
    Public Overloads Shared Function Create( _
       ByVal degree As Double, _
       ByVal gradientStops() As GradientStop _
    ) As GradientFillEffect
    'Usage
     
    
    Dim degree As Double
    Dim gradientStops() As GradientStop
    Dim value As GradientFillEffect
     
    value = GradientFillEffect.Create(degree, gradientStops)

    Parameters

    degree
    Specifies in percentage format (from the top to the bottom) the position of the top edge of the inner rectangle (color 1). For top, 0 means the top edge of the inner rectangle is on the top edge of the cell, and 1 means it is on the bottom edge of the cell.
    gradientStops
    A GradientStop array indicates the gradient stops.

    Return Value

    A GradientFillEffect value represents the gradient fill effect.
    See Also